package com.briup.category.domin;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class BookExtend extends Book {
    // 该书籍所在的类别(⼆级分类)
    private Category category;
    @Override
    public String toString() {
        String str = super.toString();
        return str + ": " + category.toString();
    }
}
